package com.company.common.util;

/**
 * 静态常量类
 */
public enum CommonConstants {

    //===============公共===============
    STATUS_OK(1,"正常"),
    STATUS_DEL(0,"删除"),
    CAPT_INVALID_TIME(30,"验证码失效时间"),

    //===============业务===============
    ACCOUNT_TYPE_ALONG(0,"长期"),
    ACCOUNT_TYPE_TEMP(1,"临时"),


    ROLETYPE_OTHER(1,"自定义"),
    ROLETYPE_SYS(2,"系统"),


    LOG_OPTYPE_LOGIN(1,"登陆"),
    LOG_OPTYPE_OPTION(2,"操作"),
    LOG_OPTYPE_APROVE(3,"审核"),
    LOG_OPTYPE_EXCEP(4,"异常"),

    LOG_LEVEL_H(1,"高"),
    LOG_LEVEL_M(0,"低"),

    LOG_TYPE_SYS(1,"系统"),
    LOG_TYPE_SER(2,"业务"),


    ;
    private int value;
    private String remark;
    CommonConstants(int value,String remark)
    {
        this.value = value;
        this.remark = remark;
    }

    public int getValue()
    {
        return value;
    }

    public String getRemark()
    {
        return remark;
    }


    }
